#include <vector>
#include <iostream>
#include "ingredient.h"
using namespace std;


ingredient::ingredient(string name, int quantity, string unit, int rec_id)
// 1=cups, 2=grams, 3=tablespoons, 4=teaspoons, 5=kilograms, 6=pints, 7=liters, 8=mililiters, 9=ounces, 10=fluid ounces
{
	m_ingredient_name=name;
	m_quantity=quantity;
	m_unit=unit;
	m_recipe_id=rec_id;
}

void ingredient::setIngred(string name, int quantity, string unit, int recipe_id)
{
	m_ingredient_name=name;
	m_quantity=quantity;
	m_unit=unit;
	m_recipe_id=recipe_id;
}
void ingredient::setIngred(string name, int recipe_id)
{
	m_ingredient_name=name;
	m_recipe_id=recipe_id;
}
string ingredient::getName()
{
	return m_ingredient_name;
}
unsigned int ingredient::getRecipeId()
{
	return m_recipe_id;
}
int ingredient::getQuantity()
{
	return m_quantity;
}
string ingredient::getUnit()
{
	return m_unit;
}
